package com.zoro.dyformservice.constants.response.common;

import com.zoro.dyformservice.interfaces.CodeData;

public enum YesOrNo implements CodeData {
    YES("1"), NO("2");
    public final String code;

    YesOrNo(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "YesOrNo{" +
                "code='" + code + '\'' +
                '}';
    }
    @Override
    public String getCode() {
        return code;
    }
}
